package com.xiaoyushu.xiaoyushu.auth.service;

import com.xiaoyushu.framework.common.response.Response;
import com.xiaoyushu.xiaoyushu.auth.model.vo.user.UpdatePasswordReqVO;
import com.xiaoyushu.xiaoyushu.auth.model.vo.user.UserLoginReqVO;

public interface AuthService
 {

    /**
     * 登录与注册
     * 
@param
 userLoginReqVO
     * 
@return
     */
    Response<String> loginAndRegister(UserLoginReqVO userLoginReqVO);

     /**
      * 退出登录
      * @return
      */
     Response<?> logout(Long userId);
     /**
      * 注册用户
      * @param
      * @return
      */
     Response<?> logout();


     /**
      * 修改密码
      * @param updatePasswordReqVO
      * @return
      */
     Response<?> updatePassword(UpdatePasswordReqVO updatePasswordReqVO);

}
